package ch.zbw.timeline.service;

import java.awt.print.PrinterException;

import javax.swing.text.JTextComponent;

/**
 * Interface that handles the print service.
 * 
 * @author Andreas Kaderli
 * @version 26.01.2012
 * 
 */
public interface PrintService {
	
	/**
	 * Print a document
	 * 
	 * @param jTextComponent text component with content
	 * @throws PrinterException
	 */
	public void print(JTextComponent jTextComponent) throws PrinterException;
	
}
